package com.ikun.service;

import java.util.List;

import com.ikun.entity.Notices;

public interface NoticesService {
    List<Notices> findAllNotices();

    List<Notices> findByContent(String keyword);

    /**
     * 获取公告列表
     *
     * @param noticeId
     * @return
     */
    List<Notices> findBylist(Integer noticeId);

    String addNotice(String content, String title);

    List<Notices> findNoticesById(Integer userId);

    int publishToOwners(Notices notices);
}
